home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / "kabooms" (global data info) ƒ / no kaboom ƒ / no kaboom.make < prev    next >
Encoding:
Text File  |  1996-06-14  |  1.4 KB  |  50 lines  |  [TEXT/MPS ]

  1. #    File:        no kaboom.make
  2. #   Target:     no kaboom
  3. #   Sources:    no kaboom.a no kaboom.c no kaboom.r
  4. #   Created:    Monday, Feb. 1, 1993 4:10:00 PM
  5. #
  6. #    Makefile for a simple printing extension.
  7. #    
  8. #    Dave Hersey
  9. #    Apple Developer Technical Support
  10. #
  11. #    2/01/93 - dmh - Created.
  12. #    4/26/93 - dmh - Updated to use recommended approach,
  13. #                    and work around b1 shutdown bug.
  14. #    9/07/93 - dmh - Updated for b2.
  15. #  12/18/93 - dmh - Updated for b3.
  16. #   8/24/94 - dmh - Finalized.
  17. #   6/14/96 - cn  - Updated to support MPW Pro #19.
  18. #
  19.  
  20. #    Alias to the path for the GX interface files.
  21.  
  22. INTPATH = "{CIncludes}"
  23.  
  24. #    Alias to the compiled files and the assembly/C options we
  25. #    want to use.
  26.  
  27. OBJECTS = 'no kaboom.a.o' 'no kaboom.c.o'
  28. AsmOptions        = -sym full -i {INTPATH} -case obj
  29. CompileOptions    = -sym full -d applec -mbg full -b2 -i {INTPATH}
  30.  
  31.  
  32. 'no kaboom.a.o' ƒ 'no kaboom.make' 'no kaboom.a'
  33.      Asm {AsmOptions} 'no kaboom.a'
  34. 'no kaboom.c.o' ƒ 'no kaboom.make' 'no kaboom.c'
  35.      SC {CompileOptions} -r  'no kaboom.c'
  36.  
  37. 'no kaboom' ƒƒ 'no kaboom.make' 'no kaboom.r' {OBJECTS}
  38.     Link    -ra =resSysHeap,resPurgeable    ∂
  39.             -t 'pext'                        ∂
  40.             -c '!Kbm'                        ∂
  41.             -rt pext=0                        ∂
  42.             -sg SEGS                        ∂
  43.             -m EntryPoint                     ∂
  44.             {OBJECTS}                        ∂
  45.             "{Libraries}Interface.o"        ∂
  46.             "{Libraries}MacRuntime.o"        ∂
  47.             -o 'no kaboom';
  48.     SetFile 'no kaboom' -a iB;
  49.     Rez -i {INTPATH} -rd -o 'no kaboom' 'no kaboom.r' -append 
  50.